package com.sunday.pinxinghui.entity;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by 刘涛 on 2017/8/27.
 */

public class ProductDetail {


    /**
     * memberId : 2
     * productId : 13
     * catId : 22
     * type : 2
     * status : 1
     * time : null
     * image : http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/a764161a2de08ea62867f8c8956f5c267f822e3f
     * images : [{"productId":13,"image":"http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/7474818dd38bd1646ea155a8c8cddf9932fb3a98","type":1,"url":""}]
     * productName : 澳大利亚脐橙12个
     * summary : 澳大利亚脐橙12个150g以上/个
     * salePrice : 200
     * vipPrice : 180
     * costPrice : 250
     * score : 80
     * rateFee : null
     * tags : ["味道鲜美"]
     * expressFee : 0
     * soldCount : 0
     * area : 澳大利亚
     * detail : <img src="http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/2b6501ce03b455cdb74588b9103f5cc661e7d6bc" alt="" />
     * detailUrl : http://mobile.zjpxny.com/product/detailHtml?productId=13
     * commentCount : 0
     * store : 300
     * isCollect : 0
     * codeImageUrl : null
     * saleCount : 0
     * percent : 0
     * normals : [{"key":"重量","id":"14","normses":[{"key":"重量","value":"100g","keyId":"14","valueId":"9"}]}]
     * comments : []
     * products : null
     */

    private Long memberId;
    private long productId;
    private Integer catId;
    private Integer type;
    private Integer status;//status : 1未开始 2进行中 3已结束
    private  Integer time;
    private String image;
    private String productName;
    private String summary;
    private BigDecimal salePrice;
    private BigDecimal vipPrice;
    private BigDecimal costPrice;
    private int score;
    private BigDecimal rateFee;
    private BigDecimal expressFee;
    private int soldCount;
    private String area;
    private String detail;
    private String detailUrl;
    private Integer commentCount;
    private int store;
    private int isCollect;
    private String codeImageUrl;
    private Integer saleCount;
    private int percent;
    private List<Product> products;
    private List<BannerImg> images;
    private List<String> tags;
    private List<Spec> normals;
    private List<Comment> comments;
    private int goodCommet;


    //电子券
    private Integer couponId;
    private List<String> banners;
    private String address;
    private int isComment;

    //组合产品
    private int isGroup;










    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }



    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }



    public int getSoldCount() {
        return soldCount;
    }

    public void setSoldCount(int soldCount) {
        this.soldCount = soldCount;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }



    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }

    public int getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(int isCollect) {
        this.isCollect = isCollect;
    }





    public int getPercent() {
        return percent;
    }

    public void setPercent(int percent) {
        this.percent = percent;
    }



    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }


    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }



    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(BigDecimal vipPrice) {
        this.vipPrice = vipPrice;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getRateFee() {
        return rateFee;
    }

    public void setRateFee(BigDecimal rateFee) {
        this.rateFee = rateFee;
    }

    public BigDecimal getExpressFee() {
        return expressFee;
    }

    public void setExpressFee(BigDecimal expressFee) {
        this.expressFee = expressFee;
    }

    public String getCodeImageUrl() {
        return codeImageUrl;
    }

    public void setCodeImageUrl(String codeImageUrl) {
        this.codeImageUrl = codeImageUrl;
    }

    public List<Product> getProducts() {
        return products;
    }

    public void setProducts(List<Product> products) {
        this.products = products;
    }

    public List<BannerImg> getImages() {
        return images;
    }

    public void setImages(List<BannerImg> images) {
        this.images = images;
    }

    public List<Spec> getNormals() {
        return normals;
    }

    public void setNormals(List<Spec> normals) {
        this.normals = normals;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }


    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public List<String> getBanners() {
        return banners;
    }

    public void setBanners(List<String> banners) {
        this.banners = banners;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getIsComment() {
        return isComment;
    }

    public void setIsComment(int isComment) {
        this.isComment = isComment;
    }

    public Integer getCatId() {
        return catId;
    }

    public void setCatId(Integer catId) {
        this.catId = catId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(Integer saleCount) {
        this.saleCount = saleCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public int getIsGroup() {
        return isGroup;
    }

    public void setIsGroup(int isGroup) {
        this.isGroup = isGroup;
    }

    public int getGoodCommet() {
        return goodCommet;
    }

    public void setGoodCommet(int goodCommet) {
        this.goodCommet = goodCommet;
    }
}
